import numpy as np
data = np.array([1,2,2,3,3,3,4])
print("重复数组：",np.tile(data,2))
print("重复数组：",np.repeat(data,2))